package com.leaf.order.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class OrderController {

	@RequestMapping("getOrder")
	public String getOrder(String name) {

		if (name == null)
			throw new RuntimeException("用户名称不能为空");
		return "order-8011";
	}

}
